<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="__CSS__/ex/common.css">
    <link rel="stylesheet" href="__CSS__/ex/login.css">
    <title>EX</title>
    <script src="__JS__/ios-web-app.js"></script>
</head>
<body>
    <div class="login">
        <div class="change_language">
            <p>Chọn ngôn ngữ</p>
            <ul class="hide">
                <!--<li onclick='to("index")'>Tiáº¿ng Trung Hoa Phá» thÃ´ng</li>-->
                <li onclick='to("english")'>简体中文</li>
                <li onclick='to("vietnam")'>Tiếng Việt</li>
                <li onclick='to("index")'>English</li>
            </ul>
        </div>
        <div class="log_pic">
            <img src="__IMG__/ex/exlogo1.png" alt="">
        </div>
        <div class="qidong_btn">
            <a href="{:U('Public/login')}"><div class="btn login_btn">Đăng nhập Ví tiền</div></a>
            <a href="{:U('Public/register')}"><div class="btn create_wallet_btn">Tạo tài khoản Ví tiền mới</div></a>
        </div>
    </div>
    <style>
        .change_language {
            width: 2rem;
            float: right;
            text-align: center;
            color: #fff;
        }
        .change_language p{
            line-height: .9rem;
        }
        .change_language ul{
            background-color: rgba(255,255,255,.3);
            border-radius: .08rem;
            line-height: .6rem;
            padding: 0 .2rem;
            box-sizing: border-box;
        }
        .change_language ul li:first-child{
            border-bottom: 1px solid #c7c7c7;
        }
    </style>
</body>
<script src="__COMMON__/js/jquery.min.js"></script>
<script>
    var domain=document.domain;
    $(".change_language p").on('click', function() {
        $(".change_language ul").removeClass('hide')
    })
    $("body").on('click', function () {
        $(".change_language ul").addClass('hide')
    })
    $(".change_language").on('click', function(e){
        e.stopPropagation()
    })
    function to(url){
        window.location.href=`http://${domain}/${url}.php`;
    }
</script>
</html>